package org.duoyi.striver.proxy.annotation;

import java.lang.annotation.*;

/**
 * 延迟
 *
 * @author chenyuheng create class on 2021-05-08
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Inherited
public @interface Delay {

    long before() default 1000L;

    long after() default 1000L;
}
